package com.sbr.seb.rule.element;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.sbr.seb.rule.Specification;

public class NameNotNullSpecification implements Specification<String> {

	private static final Logger logger = LoggerFactory.getLogger(NameNotNullSpecification.class);

	@Override
	public boolean isSatisfiedBy(String candidate) {
		logger.debug("begin");
		logger.debug("candidate = "+candidate);
		return (candidate != null);
	}

}
